package br.ita.comp.ces22.quiz.web.action;

import br.ita.comp.ces22.quiz.email.EmailManager;

public class ActionEmailManager {
	
	private static EmailManager emailManager;
	
	public ActionEmailManager() {
		if (emailManager == null) {
			emailManager = new EmailManager();
		}
	}
	
	public static void send(String toMail, String errorMessage) {
		emailManager.send(toMail, errorMessage);
	}

}
